﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace OneCard.Face8280Module.Entities.DbModels
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("Personnel")]
    public class Personnel
    {
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PersonnelID", IsPrimaryKey = true, IsIdentity = true)]
        public int PersonnelID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PName")]
        public string PName { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PCode")]
        public string PCode { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CardData")]
        public long CardData { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CardCode")]
        public string CardCode { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CardData_Backup")]
        public long CarddataBackup { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CardCode_Backup")]
        public string CardcodeBackup { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PPassword")]
        public string PPassword { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Sex")]
        public byte Sex { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "DepartmentID")]
        public int DepartmentID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Job")]
        public string Job { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Nation")]
        public string Nation { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Country")]
        public string Country { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "NativePlace")]
        public string NativePlace { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Birthday")]
        public decimal Birthday { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "IdentityCard")]
        public string IdentityCard { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "IdentityCardType")]
        public string IdentityCardType { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Study")]
        public string Study { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Degree")]
        public string Degree { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "GraduateSchool")]
        public string GraduateSchool { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "GraduateTime")]
        public decimal GraduateTime { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Technical")]
        public string Technical { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "MobilePhone")]
        public string MobilePhone { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Addr")]
        public string Addr { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "EMail")]
        public string EMail { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PDesc")]
        public string PDesc { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PImage")]
        public int ImageID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "InputSystemTime")]
        public decimal InputSystemTime { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "InputUser")]
        public string InputUser { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "BackupIsFingerprint")]
        public byte? BackupIsFingerprint { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "FPUserID")]
        public long? FPUserID { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "IsBlacklist")]
        public byte? IsBlacklist { get; set; }
    }
}
